package com.sharker.models.data;

import com.sharker.models.CategoryBeen;
import com.sharker.models.Course;
import com.sharker.network.SharkerResponseParser;

import org.xutils.http.annotation.HttpResponse;

import java.util.List;

/**
 * 项目名称：Sharker-master
 * 类描述：
 * 创建人：${丁江楠}
 * 创建时间：2017/4/12 8:42
 * 修改人：${丁江楠}
 * 修改时间：2017/4/12 8:42
 * 修改备注：
 */
@HttpResponse(parser = SharkerResponseParser.class)
public class CourseData {
    private List<Course> course;
    private List<CategoryBeen> category;

    @Override
    public String toString() {
        return "CourseData{" +
                "course=" + course +
                ", category=" + category +
                '}';
    }

    public List<Course> getCourse() {
        return course;
    }

    public void setCourse(List<Course> course) {
        this.course = course;
    }

    public List<CategoryBeen> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryBeen> category) {
        this.category = category;
    }

    public CourseData(List<Course> course, List<CategoryBeen> category) {
        this.course = course;
        this.category = category;
    }
}
